#This file should contain all the record creation needed to seed the database with its default values.
# The data can then be loaded with the rails db:seed command (or created alongside the database with db:setup).
#
# Examples:
#
#   movies = Movie.create([{ name: 'Star Wars' }, { name: 'Lord of the Rings' }])
#   Character.create(name: 'Luke', movie: movies.first)

Role.create([{name: '权限管理员', privilege: 0
}, {name: '公司创立者', privilege: 1}])

User.create({username: 'kinking100', email: 'smartepsh@gmail.com', phone_num: '15191712501', password:'1587462', password_confirmation:'1587462', activity: '1', 'role_id': 0})
